﻿<?php

class AlonepageApp extends BaseApp
{
 
     var $type = 'alonepage';  
   
    function index()
    {
        
		
		$pa = $_GET['pa'];
		$pa || $pa = $_REQUEST['pa'];
			
 	    $TB_alonepage = &$this->_model('alonepage'); 	 
		
		$info = $TB_alonepage->oneshow($pa);	
		if($info['modue'])
		{
		$module = $info['modue'];
		}else
		{
		$module = 'alonepage.view.html';
		}		
				
        $this->assign('view_charset', VIEW_CHARSET);	

        $this->assign('login_icon', $GLOBALS[SCup]->SCup_user_checking);
		$this->assign('bg_pic_url',SITE_URL.'/'.$GLOBALS['SCup']->SCup_name.'/view/'.VIEW_TYPE .'/style/'.CSS_TYPE.'/');	
        $this->assign('page_title', $info['title']);
        $this->assign('name', $info['name']);
        $this->assign('page_description', $info['description']);		
        $this->assign('page_keywords', $info['keywords']);	
		$this->assign('content', $info['content']);	
		$this->assign('data', $info);					
        $this->assign('langtype', trim($GLOBALS['Lang']->_lang_tp));
	        $this->assign('site_url',SITE_URL);	
     		
        $this->display($module);		
		
    }


   
}




?>